package com.baidu.day08;

import java.time.LocalDate;

public class User {

    private Integer id;
    private String name;
    private LocalDate registerDate;

    public User() {
    }

    public User(Integer id, String name, LocalDate registerDate) {
        this.id = id;
        this.name = name;
        this.registerDate = registerDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(LocalDate registerDate) {
        this.registerDate = registerDate;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", registerDate=" + registerDate +
                '}';
    }
}
